<div class="showrrboxtext">
    <div class="table-box tablenes">
        <div class="title">项目收入</div>
        <div class="tuo"><div class="tit">工程回款金额(元)</div><div class="con" id="business_2_win_shougonghuifee">0</div></div>
        <div class="tuo"><div class="tit">联营方备用金金额(元)</div><div class="con" id="business_2_win_shoulianbeifee">0</div></div>
        <div class="tuo"><div class="tit">收入合计(元)</div><div class="con" id="business_2_win_lianyingshoufee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">项目支出</div>
        <div class="tuo"><div class="tit">项目付款金额(元)</div><div class="con" id="business_2_win_zhixiangfee">0</div></div>
        <div class="tuo"><div class="tit">联营结算金额(元)</div><div class="con" id="business_2_win_zhilianjiefee">0</div></div>
        <div class="tuo"><div class="tit">支出合计(元)</div><div class="con" id="business_2_win_lianyingzhifee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">费用扣收</div>
        <div class="tuo"><div class="tit">管理费费率(%)</div><div class="con" id="business_2_win_lian_guanrate">0</div></div>
        <div class="tuo"><div class="tit">应扣管理费(元)</div><div class="con" id="business_2_win_lian_guanfee">0</div></div>
        <div class="tuo"><div class="tit">已扣管理费(元)</div><div class="con" id="business_2_win_kou_guanfee">0</div></div>
        <div class="tuo"><div class="tit">待扣管理费(元)</div><div class="con" id="business_2_win_dai_guanfee">0</div></div>
        <div class="tuo"><div class="tit">税费费率(%)</div><div class="con" id="business_2_win_lian_shuirate">0</div></div>
        <div class="tuo"><div class="tit">应扣税费(元)</div><div class="con" id="business_2_win_lian_shuifee">0</div></div>
        <div class="tuo"><div class="tit">已扣税费(元)</div><div class="con" id="business_2_win_kou_shuifee">0</div></div>
        <div class="tuo"><div class="tit">待扣税费(元)</div><div class="con" id="business_2_win_dai_shuifee">0</div></div>
        <div class="tuo"><div class="tit">其他扣收金额(元)</div><div class="con" id="business_2_win_kou_qifee">0</div></div>
        <div class="tuo"><div class="tit">扣收合计(元)</div><div class="con" id="business_2_win_kou_allfee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">项目发票</div>
        <div class="tuo"><div class="tit">项目开票金额(元)</div><div class="con" id="business_2_win_kai_money">0</div></div>
        <div class="tuo"><div class="tit">销项税额(元)</div><div class="con" id="business_2_win_kai_ratefee">0</div></div>
        <div class="tuo"><div class="tit">项目收票金额(元)</div><div class="con" id="business_2_win_shou_money">0</div></div>
        <div class="tuo"><div class="tit">进项税额(元)</div><div class="con" id="business_2_win_shou_ratefee">0</div></div>
        <div class="tuo"><div class="tit">应计增值税(元)</div><div class="con" id="business_2_win_zengzhifee">0</div></div>
    </div>
    <div class="table-box tablenes">
        <div class="title">资金余额</div>
        <div class="tuo"><div class="tit">项目资金余额(元)</div><div class="con" id="business_2_win_balancefee">0</div></div>
    </div>
</div>

<script>
    function set_right_relainfo(engininfo) {
        if(engininfo){
            $("#business_2_win_shougonghuifee").text(parseFormatNum(engininfo.shougonghuifee)).addClass('colorlan').click(function () {
                openNavPage('查看项目收款信息','shou_xiang/index.php?status=1&feilei_option=xmsr_gchk&enginid='+engininfo.id);
            });
            $("#business_2_win_shoulianbeifee").text(parseFormatNum(engininfo.shoulianbeifee)).addClass('colorlan').click(function () {
                openNavPage('查看项目收款信息','shou_xiang/index.php?status=1&feilei_option=xmsr_lyfbyj&enginid='+engininfo.id);
            });
            $("#business_2_win_lianyingshoufee").text(parseFormatNum(engininfo.lianyingshoufee));
            $("#business_2_win_zhixiangfee").text(parseFormatNum(engininfo.zhixiangfee)).addClass('colorlan').click(function () {
                openNavPage('查看项目付款信息','zhi_xiang/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_zhilianjiefee").text(parseFormatNum(engininfo.zhilianjiefee)).addClass('colorlan').click(function () {
                openNavPage('查看联营结算信息','zhi_lianjie/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_lianyingzhifee").text(parseFormatNum(engininfo.lianyingzhifee));
            $("#business_2_win_lian_guanrate").text(engininfo.lian_guanrate).addClass('colorlan').click(function () {
                openNavPage('查看联营合同信息','contract_lian/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_lian_guanfee").text(parseFormatNum(engininfo.lian_guanfee));
            $("#business_2_win_kou_guanfee").text(parseFormatNum(engininfo.kou_guanfee)).addClass('colorlan').click(function () {
                openNavPage('查看费用扣收信息','lian_koulan/index.php?status=1&feitype_option=xmsr_lyfyhks_glf&enginid='+engininfo.id);
            });
            $("#business_2_win_dai_guanfee").text(parseFormatNum(engininfo.dai_guanfee));
            $("#business_2_win_lian_shuirate").text(engininfo.lian_shuirate).addClass('colorlan').click(function () {
                openNavPage('查看联营合同信息','contract_lian/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_lian_shuifee").text(parseFormatNum(engininfo.lian_shuifee));
            $("#business_2_win_kou_shuifee").text(parseFormatNum(engininfo.kou_shuifee)).addClass('colorlan').click(function () {
                openNavPage('查看费用扣收信息','lian_koulan/index.php?status=1&feitype_option=xmsr_lyfyhks_sf&enginid='+engininfo.id);
            });
            $("#business_2_win_dai_shuifee").text(parseFormatNum(engininfo.dai_shuifee));
            $("#business_2_win_kou_qifee").text(parseFormatNum(engininfo.kou_qifee)).addClass('colorlan').click(function () {
                openNavPage('查看费用扣收信息','lian_koulan/index.php?status=1&feitype_option=noguannoshui&enginid='+engininfo.id);
            });
            $("#business_2_win_kou_allfee").text(parseFormatNum(engininfo.kou_allfee));
            $("#business_2_win_kai_money").text(parseFormatNum(engininfo.kai_money)).addClass('colorlan').click(function () {
                openNavPage('查看项目开票信息','piao_kai/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_kai_ratefee").text(parseFormatNum(engininfo.kai_ratefee)).addClass('colorlan').click(function () {
                openNavPage('查看项目开票信息','piao_kai/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_shou_money").text(parseFormatNum(engininfo.shou_money)).addClass('colorlan').click(function () {
                openNavPage('查看项目收票信息','piao_shou/index.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_shou_ratefee").text(parseFormatNum(engininfo.shou_ratefee)).addClass('colorlan').click(function () {
                openNavPage('查看项目收票明细信息','piao_shou/detail.php?status=1&enginid='+engininfo.id);
            });
            $("#business_2_win_zengzhifee").text(parseFormatNum(engininfo.zengzhifee));
            $("#business_2_win_balancefee").text(parseFormatNum(engininfo.balancefee));
            if(engininfo.balancefee < 0){
                $("#business_2_win_balancefee").addClass('colorhong');
            }
        }
    }
</script>